<!doctype html>
<html lang="en">
<head>
	<title>编辑栏目</title>
	<script type="text/javascript" src="__STATIC__/hdjs/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" href="__STATIC__/hdjs/hdjs.css"/>
    <script type="text/javascript" src="__STATIC__/hdjs/hdjs.min.js"></script>
	<js file='__CONTROLLER_VIEW__/js/validate.js'/>
	<css file='__CONTROLLER_VIEW__/css/css.css'/>
</head>
<body>
<div class="hd-menu-list">
	<ul>
		 <li><a href="{|U:'index'}" > 栏目列表 </a></li>
		 <li class="active"><a href="#"> 编辑栏目</a> </li>
		 <li><a href="#"> 更新栏目缓存 </a></li>
	</ul>
</div>
<form id="form1" method='post'  action="">
	<input type='hidden' name='cid' value='{$field.cid}' />
	<table class='hd-table hd-table-form hd-form'>
		<tr>
			<th class='hd-w100'>栏目名称</th>
			<td>
				<input type='text' name='cname' class='w200 hd-h30' value='{$field.cname}'/>
			</td>
		</tr>
		<tr>
			<th class='hd-w100'>上级栏目</th>
			<td>
				<select name='pid' class='hd-w200 hd-h30'>
					<option value='0'>==顶级栏目==</option>
					<list from='$category' name='$c'>
						<option value='{$c.cid}' {$c.selected} {$c.disabled} >{$c._name}</option>
					</list>
				</select>
				<span class='message'>灰色栏目不可选择</span>
			</td>
		</tr>
		<tr>
			<th class='hd-w100'>排序</th>
			<td>
				<input type='text' name='sort' value="100" class='hd-w200 hd-h30'/>
			</td>
		</tr>
	</table>
	<div style='text-align:center'>
		<input type='submit' value='确定' class='hd-btn hd-btn-primary hd-btn-sm'/>
	</div>
</form>
</body>
</html>
